Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericDictionaryAssertions<TCollection,TKey,TValue,TAssertions> Class / Contain Method
In This Topic
    Contain Method (GenericDictionaryAssertions<TCollection,TKey,TValue,TAssertions>)
    In This Topic
    Asserts that the current dictionary contains the specified expected. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.
    Overload List
    OverloadDescription
    Asserts that the current dictionary contains the specified expected. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.  
    Asserts that the current dictionary contains the specified expected. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.  
    Asserts that the current dictionary contains the specified expected. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.  
    Asserts that the current dictionary contains the specified value for the supplied key. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.  
    (Inherited from FluentAssertions.Collections.GenericCollectionAssertions<TCollection,KeyValuePair<TKey,TValue>,TAssertions>)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also